package com.shark.erp.mapper;

import com.shark.erp.entity.Employee;
import com.shark.erp.entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface EmployeeMapper {

    List<Employee> selectAllEmployee();

    List<Employee> selectEmployeeByName(@Param("key") String key);

    void insertEmployee(Employee employee);

    void deleteEmployee(@Param("code") String code);

    void updateEmployee(Employee employee);


}
